import request from "@/utils/request";

// 获取节目列表
export function getProgramVotingList(params) {
  return request({
    url: "/program_voting/list_program",
    method: "get",
    params,
  });
}
// 提交投票结果
export function postProgramVoting(data) {
  return request({
    url: "/program_voting/add_voting",
    method: "post",
    data,
  });
}
// 获取投票数据
export function getCountVoting(params) {
  return request({
    url: "/program_voting/count_voting",
    method: "get",
    params,
  });
}
